package com.atdel.demo12;


/**
 * @BelongsProject: java_study
 * @BelongsPackage: com.atdel.demo12
 * @Author: Del
 * @CreateTime: 2025-03-11  19:52
 * @Description: TODO
 * @Version: 1.0
 */
public class MovieTicketSaleRunnableThreadTest {
    public static void main(String[] args) {
        MovieTicketSaleRunnableThread thread = new MovieTicketSaleRunnableThread();

        Thread t1 = new Thread(thread);
        Thread t2 = new Thread(thread);

        t1.setName("窗口1");
        t2.setName("窗口2");

        t1.start();
        t2.start();
    }
}
